<template name="postPage">
    {{> postItem}}
    <button type="button" id="starBtn" class="starBtn btn btn-default">
        <span class="glyphicon glyphicon-heart" aria-hidden="true"></span> <i name="starSpan">{{star}}</i>
    </button>

    <button type="button" id="badBtn" class="starBtn btn btn-default">
        <span class="glyphicon glyphicon-remove" aria-hidden="true"></span> <i name="badBtn">举报</i>
    </button>

    <ul class="comments">
        {{#each comments}}
            {{> commentItem}}
        {{/each}}
    </ul>

    {{#if currentUser}}
        {{> commentSubmit}}
    {{else}}
        <p>登陆后才能发布评论哦</p>
    {{/if}}
</template>